package com.itheima.visitor.dispatch.dynamic_dispatch;

/**
 * @author zzw
 * @date 2025/10/26
 * @description 动态分派
 */
public class Client {
    public static void main(String[] args) {
        Animal dog = new Dog();
        dog.execute();

        Animal cat = new Cat();
        cat.execute();
    }
}
